<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%> 
<jsp:include page="main.jsp"></jsp:include>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>网易邮箱帮助中心 - 帮助首页</title>
<style type="text/css">
<!--
.p1{font-size:9pt;}
.p2{font-size:9pt;line-height:14pt;}
.p3{font-size:14.8px;}
.p4{font-size:14.9px;line-height:150%;}
a.lb:link,a.lb:visited{color:blue;}
a:hover,a.lb:hover{color:red;}
-->
</style> 
<script>
	function checkk(){
		var email = document.getElementById("email").value;
		var name = document.getElementById("name").value;
		var pattern = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/;
		var chkFlag = pattern.test(email);
		if(name==""){
			alert("姓名不能为空！");
			return false;
		} else 
		if(email==""){
			alert("邮箱不能为空！");
			return false;
		} else
		if(!chkFlag){
			alert("邮箱地址的格式不正确！");
			return false;
		}
		
	}
</script>
</head>

<body>

<table width="553" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="80" valign="top" bgcolor="84C342" class="p3"><div class="p2" align="center"></div>
      <span class="p3"></span><div class="p2" align="center"></div>
      <span class="p2"></span></td>
    <td width="80" align="right" valign="top" bgcolor="84C342" class="p3"><img src="image/h-1b.gif"  width="15" height="20"></td>
    <td width="6" valign="top" bgcolor="#FFFFFF" class="p2"><img src="image/h-1c.gif"  width="6" height="20"></td>
    <td width="587" align="right" valign="top" bgcolor="#FFFFFF" class="p2"> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="CECFCE">
        <tr> 
          <td width="14" valign="top" class="p4"><img src="image/h-1d.gif"  width="14" height="20"></td>
          <td width="507" align="center" class="p4">&nbsp;</td>
          <td width="52" height="27" align="center" class="p4">&nbsp;</td>
          <td width="14" align="right" valign="top" class="p4"><img src="image/h-1e.gif" width="11" height="10"></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td height="1" colspan="4" valign="top" class="p4"> </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td colspan="2" align="center" valign="top" bgcolor="84C342" class="p3"><div class="p2" align="center">
        
       
        <table width="140" border="0" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
          <tr> 
            <td bgcolor="B6DA90"> <table width="130" border="0" cellpadding="5" cellspacing="1">
                <tr bgcolor="#FFFFFF"> 
                  <td valign="middle" style="font-size:14px;" height="24px" bgcolor="#FFFFFF" class="66A623" align="left"><font color="66A623"><img src="image/icon00.gif"  width="13" height="13" /></font>
                  	<a href="AddressList.action?flag=f"  target="_top">朋友</a> (<s:property value="friend" />)
                  </td>
                </tr>
                <tr bgcolor="#FFFFFF"> 
                  <td valign="middle" height="24px" class="p3" align="left"><font color="66A623"><img src="image/icon02.gif"  width="13" height="13" /></font>
                 	 <a href="AddressList.action?flag=r"  target="_top">亲人</a> (<s:property value="relation" />)
                 </td>
                </tr>
                <tr bgcolor="#FFFFFF"> 
                  <td valign="middle" height="24px" class="p3" align="left"><font color="66A623"><img src="image/icon02.gif"  width="13" height="13" /></font>
                  	<a href="AddressList.action?flag=co">同事</a> (<s:property value="colleague" />)
                  </td>
                </tr>
                <tr bgcolor="#FFFFFF"> 
                  <td valign="middle" height="24px" bgcolor="#FFFFFF" class="p3" align="left"><font color="66A623"><img src="image/icon02.gif"  width="13" height="13" /></font>
                  	<a href="AddressList.action?flag=n">网友</a> (<s:property value="netfriend" />)
                  </td>
                </tr>
                <tr bgcolor="#FFFFFF"> 
                  <td valign="middle" height="24px" class="p3" align="left"><font color="66A623"><img src="image/icon02.gif" width="13" height="13" /></font>
                  	<a href="AddressList.action?flag=cm">常用联系人</a> (<s:property value="common" />)
                  </td>
                </tr>
                <tr bgcolor="#FFFFFF"> 
                  <td valign="middle" height="24px" class="p3" align="left"><font color="66A623"><img src="image/icon02.gif"  width="13" height="13" /></font>
                  	<a href="AddressList.action?flag=o">其他</a> (<s:property value="other" />)
                  </td>
                </tr>      
              </table></td>
          </tr>
        </table>
        <br />
      </div>
      <table>
      	   <tr>
           	<td style="font-size:14px;"><a href="AddressAddS.action">添加联系人</a></td>
           </tr>
     </table>
      <div class="f12w" align="center" valign="top" style="line-height:150%;"> 
        <span class="p2"> 全国唯一24小时<br />
        <a href="mailto:kf163@188.com" target="_blank">免费邮箱客户服务</a><br />
        电话:020-83568090拨4
        </span>
        <span class="p3"><br />
        </span> 
        <span class="p2"></span></div></td>
    <td bgcolor="#FFFFFF" class="p2">&nbsp;</td>
    <td width="587" valign="top" bgcolor="#FFFFFF" class="p2">
    	
    	

    	<table width="587" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
        <tr> 
          <td align="center" bgcolor="#FFFFFF" class="p4">
            <table align="center" width="100%" height="321" border="0" cellpadding="0" cellspacing="0">
              <tr class="p4"> 
                <td width="293" height="20" bgcolor="EADC45"> <strong>　<img src="image/icon03.gif" width="10" height="11" /> 
                  <font size="3">添加联系人</font></strong></td>
                <td width="1"> </td>
              </tr>
              <tr> 
                      <td class="p4" bgcolor="DCF4A7">
                      	
<form action="AddressAdd.action" onsubmit="return checkk()" method="post" >
<table border="1" style="font-size:14px;height:200px;" align="center">
	<tr height="20px">
		<td style="text-align:right;">姓名/昵称:</td>
		<td><input type="text" style="width:200px;height:20px;background-color:#FFFFE6;border:1px;padding-top:4px;padding-left:4px;" name="name" id="name" /> <font color="red" size="2"> *必填*</font></td>
	</tr>
	<tr height="20px">
		<td style="text-align:right">邮箱:</td>
		<td><input type="text" style="width:200px;height:20px;background-color:#FFFFE6;border:1px;padding-top:4px;padding-left:4px;" name="email" id="email" /><font color="red" size="2"> *必填*</font></td>
	</tr>
	<tr style="height:40px;">
		<td align="right">所属组:</td>
		<td align="left">
			<select name="belong">
						<option value="朋友">朋友</option>
						<option value="亲人">亲人</option>
						<option value="同事">同事</option>
						<option value="网友">网友</option>
						<option value="常用联系人">常用联系人</option>
						<option value="其他">其他</option>
			</select>
		</td>
	</tr>
	<tr>
		<td colspan="2" align="center"><input type="image" src="image/savebutton.gif" value="保存" /></td>
	</tr>
</table>
</form>
                      	
                      </td>
               </tr>
          
            </table>
            
          </td>
        </tr>
      </table>
   
   </td>
  </tr>
  <tr> 
    <td valign="bottom" bgcolor="84C342" class="p3">&nbsp;</td>
    <td align="right" valign="bottom" bgcolor="84C342" class="p3"><img src="image/h-2b.gif" width="15" height="16"></td>
    <td width="3" valign="bottom" bgcolor="#FFFFFF" class="p2"><img src="image/h-2c.gif" width="6" height="16"></td>
    <td width="587" valign="bottom" bgcolor="#FFFFFF" class="p2"><table width="587" height="27" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
        <tr> 
          <td height="2" colspan="3" align="center" bgcolor="#FFFFFF"> </td>
        </tr>
        <tr> 
          <td width="15" valign="bottom" class="p4"><img src="image/h-2d.gif"  width="14" height="16"></td>
          <td width="557" align="center" class="p4">版权 &copy; 2009</td>
          <td width="15" align="right" valign="bottom" class="p4"><img src="image/h-2e.gif" width="10" height="10"></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>

</html>
